package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.domain.Order;

import java.util.Date;

public interface OrderService {
    void save(Order order);

    Page<Order> findPage(Integer pageNum, Integer pageSize);


     //Page<Order> findByPage(String number, Integer pageNum, Integer pageSize);

    Page<Order> findByPage2(String number, Date beginTime, Date endTime, Integer pageNum, Integer pageSize);

}
